package com.homework.Demo6_14.Work1.h5;

public class E {
    public static void main(String args[]){
        UseCompute user = new UseCompute();
        Computer t1=new Add();
        Computer t2=new Sub();
        Computer t3=new Mul();
        Computer t4=new Div();
        user.useCom(t1,5,6);
        user.useCom(t2,5,6);
        user.useCom(t3,5,6);
        user.useCom(t4,5,6);

    }
}
